package com.prasanna.practice.model
{
	import com.prasanna.practice.controller.ParserController;
	import com.prasanna.practice.controller.ViewController;
	import flash.display.MovieClip;
	
	/**
	 * ...
	 * @author Prasanna Patra
	 */
	public class Model
	{
		public var viewController:ViewController;
		public var parserController:ParserController;
		public var irVOarr:Array;
		
		private static const _instance:Model = new Model(SingletonLock);
		
		public static function get instance():Model
		{
			return _instance;
		}
		
		public function Model(lock:Class)
		{
			if (lock != SingletonLock)
			{
				throw new Error("Invalid Singleton access.  Use Model.instance.");
			}
		}
	
	}

}

class SingletonLock
{

}